<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="utf-8">
	<title>Dashboard Template for Bootstrap</title>
	<link rel="stylesheet" type="text/css" href="/xiaomi/Public/css/type.css" />
	<script src="/xiaomi/Public/js/jquery.min.js"></script>
</head>
<body class="admin_layout">
<header class="admin_header">
	<h2>小米商城后台管理系统</h2> 
  <ul>
		<li>欢迎您：</li>
		<li><a href="/xiaomi/index.php?s=/Admin/Administrator/modifySellerInformation"><?php echo ($_SESSION['admin_name']); ?>&emsp;</a></li>
		<li>|</li>
		<li><a href="/xiaomi/index.php?s=">&emsp;前台首页&emsp;</a></li>
		<li>|</li>
		<li><a href="/xiaomi/index.php?s=/Admin/Administrator/logout"  onClick="return confirm('您确定要退出本站?');">&emsp;退出登录&emsp;</a></li>
	</ul>
  
</header>


<div class="admin_main">
<aside class="sidebar" id="selector">
	<ul>
		<li><a href="/xiaomi/index.php?s=/Admin/Index/index" id="">后台首页</a></li>
		<li><a href="/xiaomi/index.php?s=/Admin/Goodcategory/index" id="">分类管理</a></li>
		<li><a href="/xiaomi/index.php?s=/Admin/Goodattribute/checkGoodAttribute" id="">商品属性</a></li>
		<li><a href="/xiaomi/index.php?s=/Admin/Goods/checkGoods" id="">商品管理</a></li>
		<li><a href="/xiaomi/index.php?s=/Admin/Goods/recycleIndex" id="">下架商品</a></li>
		<li><a href="/xiaomi/index.php?s=/Admin/Order/index" id="">订单管理</a></li>
		<li><a href="/xiaomi/index.php?s=/Admin/Orderdetail/index" id="">评论管理</a></li>
	<li><a href="/xiaomi/index.php?s=/Admin/User/index" id="">顾客管理</a></li>
</ul>
</aside>
<section class="admin_section">
	<div>
	<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Classify Management</title>
<link rel="stylesheet" type="text/css" href="/xiaomi/Public/css/type.css" />
<script type="text/javascript" src="/xiaomi/Public/js/admin.js"></script>

<body>
<br>
<br>
<form method="post">
<table class="classify_table1">
	<tr>
		<td><span class="classify_table_title">新增属性</span> <span
			class="classify_table_button">
		<button><a href="/xiaomi/index.php?s=/Admin/Goodattribute/checkGoodAttribute">返回</a></button>
		</span> <span class="classify_table_button"><input type="submit"
			value="保存"></span></td>
	</tr>
	<tr>
		<td>
		<div class="tab"><span>属性名称：<input type="text"
			name="AttributeName" value="<?php echo '';?>" /></span><br>
		<span>属性值：&nbsp;<input type="text" name="AttributeDefVal"
			value="" /></span><br>
		<span>商品分类：<select name="GoodcategoryId" id="GoodcategoryId">
			<?php if(is_array($goodcategory)): foreach($goodcategory as $key=>$v): ?><option value="<?php echo ($v["GoodcategoryId"]); ?>"<?php if(($v["GoodcategoryId"]) == $GoodcategoryId): ?>selected<?php endif; ?>
			><?php echo str_repeat('&nbsp;&nbsp;&nbsp;&nbsp;',$v['deep']).$v['CategoryName'];?></option><?php endforeach; endif; ?>
		</select> </span><br>
		</div>
		</td>
	</tr>
</table>
</form>
</body>
</html>
	</div>
</section>
</div>
</body>
</html>